//
// Created by 11510 on 2025/10/3.
//

#pragma once
#include <string>
namespace xml_auxiliary{
    std::string trim(std::string s);

    // parse address text like "0x0011" or "17", return true on success, set out
    bool parseAddress(const std::string& text, uint16_t& out);

    // FNV-1a 64-bit hash (fast non-cryptographic)
    uint64_t fnv1a64(const std::string& s) ;
}// namespace xml_auxiliary
